/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package lanSimulation.internals;

import lanSimulation.LogManager;

/**
 *
 * @author farooq
 */
public class Workstation extends Node{
    
    public Workstation(String name, LogManager logman){
        super(name,logman);
    }

    public boolean equalsType(Class type){
        return type.equals(Workstation.class);
    }


    public void printOn(StringBuffer buf){

        buf.append("Workstation ");
        buf.append(this.name_);
        buf.append(" [Workstation]");

    }

    public void printXmlOn(StringBuffer buf){
        buf.append("<workstation>");
        buf.append(this.name_);
        buf.append("</workstation>");
    }


}
